package com.indusfo.spc.mapper;

import com.indusfo.spc.pojo.WorkPermission;
import org.apache.ibatis.annotations.Param;

public interface WorkPermissionMapper {
    int deleteByPrimaryKey(Integer workPermissionId);

    int insert(WorkPermission record);

    int insertSelective(WorkPermission record);

    WorkPermission selectByPrimaryKey(Integer workPermissionId);

    int updateByPrimaryKeySelective(WorkPermission record);

    int updateByPrimaryKey(WorkPermission record);

    void deleteByRoleId(@Param("roleId") int roleId);
}